package com.rg1906.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.rg1906.dao.Impl.StudentScoreDaoImpl;
import com.rg1906.entity.QuerygradeClass;
import com.rg1906.entity.StudentScore;

public class StudentScoreServiceImpl {
	StudentScoreDaoImpl dao=new StudentScoreDaoImpl();

	public List<StudentScore> GetScore(String pageNumber, String pageSize, String gid, String cid, int rid, String likeName, String likeGradeName, String likeGradeClass) throws SQLException {
		return dao.GetScore(pageNumber,pageSize,gid,cid,rid,likeName,likeGradeName,likeGradeClass);
		
	}

	public Long GetCount(String gid, String cid, String likeName, int rid, String likeGradeName, String likeGradeClass) throws SQLException {
		return dao.GetCount(gid,cid,likeName,rid,likeGradeName,likeGradeClass);
		
	}

	public String queryGradeName(String gid) throws SQLException {
		return dao.queryGradeName(gid);
		
	}

	public List<QuerygradeClass> queryGradeClass(String gid, String cid) throws SQLException {
		return dao.queryGradeClass(gid,cid);
		
	}

	public List<QuerygradeClass> queryGradeClass1(String gid) throws SQLException {
		return dao.queryGradeClass1(gid);
		
	}
}
